package day2;

public class LongDemo {
    public static void main(String[] args) {
long a = 12L;
//long b = 10000000000;编译错误，超出int范围
  long c = 10000000000L;
  //long d = 3.14;编译错误，长整型变量里只能装整数
        long e = 1000000000*2*10L;
        System.out.println(e);
        long f = 1000000000*3*10L;
        System.out.println(f);
        long m = 100000000000L*2*10;
        System.out.println(m);

    }
}
